#newl "#ppthapps\ffmpeg\ffmpeg.exe" |-program file-
-i "#item" |-input-
-af "volume=0.33,afade=t=in:ss=0:d=30" |-af "afade=t=in:ss=0:d=30" |-lower volume to 33%, and fade in first 30 sec-
-t 60 |-total length-
-vn |-vcodec copy |--no video
-acodec libmp3lame |-acodec libvo_aacenc |-acodec mp2 |
-q:a 4 |-b:a 256k | -b:a 160k | -b:a 128k |-aq 6 |-aq 5 |--audio quality. aq is for vorbis only--
-map_metadata 0 -id3v2_version 3 |transfer metedata to mp3 format
"#path#name-fadein.mp3" |"#path#name-fadein#exte" |-output-


<comment>
Create a fade in effect on audio file.
Could be used to make an alarm tone for your phone.


fade in:
https://ffmpeg.org/ffmpeg-filters.html#afade-1

mp3:
https://trac.ffmpeg.org/wiki/Encode/MP3
0-3 will normally produce transparent results, 4 (default) should be close to perceptual transparency, 
and 6 produces an "acceptable" quality. 
The option -qscale:a is mapped to the -V option in the standalone lame command-line interface tool.


	ffmpeg
lame	avg	range
-V 0	245	220-260	-q:a 0 (NB this is VBR from 22 to 26 KB/s)
-V 1	225	190-250	-q:a 1
-V 2	190	170-210	-q:a 2
-V 3	175	150-195	-q:a 3
-V 4	165	140-185	-q:a 4
-V 5	130	120-150	-q:a 5
-V 6	115	100-130	-q:a 6
-V 7	100	80-120	-q:a 7
-V 8	85	70-105	-q:a 8
-V 9	65	45-85	-q:a 9

 Note: Using -b:a 320k is generally considered wasteful because:
    -q:a 0  -q:a 3 will normally produce transparent results.
    MP3 is lossy anyway, so if you really want the highest quality use a lossless format such as FLAC. 



Vorbis/theora:
https://trac.ffmpeg.org/wiki/TheoraVorbisEncodingGuide
-qscale:a  audio quality. Range is 010, where 10 is highest quality. 36 is a good range to try. Default is -qscale:a 3.

-qscale:v  video quality. Range is 010, where 10 is highest quality. 57 is a good range to try. If you omit -qscale:v (or the alias -q:v) then ffmpeg will use the default -b:v 200k which will most likely provide a poor quality output, and libtheora may drop/skip frames if the bitrate is too low.
